﻿<%@ Page Language="C#"
    AutoEventWireup="true"
    CodeBehind="ValueList.aspx.cs" 
    MasterPageFile="~/Medianamik/MasterPages/MedianamikModule.master"
    Inherits="Medianamik.UI.Web.Shop.ShopAttributeValueList" %>
    
<%@ Import Namespace="Medianamik.Core" %>
<%@ Import Namespace="Telerik.Web.UI"%>

<%@ Register TagName="FacetGrid" Src="~/medianamik/shop/attributetype/AttributeValueGrid.ascx" TagPrefix="shop" %>
    
<asp:Content ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:HyperLink ID="lnkAddNode" runat="server"
        Target="_self"
        CssClass="Action BtAjouter"
        Text="<%$ Resources: Medianamik_ContentManagement, NewNodeButtonText %>" />
</asp:Content>

<asp:Content ContentPlaceHolderID="CenterContent" runat="server">
    <%= BreadcrumbTrail %>
    <shop:FacetGrid runat="server" ID="AttributeTypeValueGrid" AllowPaging="true" />
    <p class="Titre12pxBordure"><asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Medianamik_ContentManagement, CaptionLabel %>" /></p>
    <ul id="Legende">
        <li class="ElementBrouillon">
            <div><span></span></div>
            <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources: Medianamik_ContentManagement, DraftContentCaption %>" />
        </li>
    </ul>
    <br class="clearer" />        
</asp:Content>

<asp:Content ID="ExternalContent" ContentPlaceHolderID="ExternalContentHolder" runat="server">
    <telerik:RadScriptBlock runat="server" ID="ScriptBlock">

        <script type="text/javascript">
            //<![CDATA[

            <%= Medianamik.UI.Utility.GetDeleteElementScript(RadAjaxManager.GetCurrent(Page).ClientID,
                Medianamik.Core.Pages.DeleteElementWindow,
                CurrentEditionCulture.Name,
                false,
                CurrentEditionCulture.Name == "") %>
                
            <%= Medianamik.UI.Utility.GetTypeSelectedScript(EditPageUrl,
                false,
                DefaultParamNames.ParentNodeID,
                DefaultParamNames.TypeID,
                Grid.EditReturnUrl) %>

            //]]>
        </script>

    </telerik:RadScriptBlock>
</asp:Content>
